﻿
@{
    ViewData["Title"] = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<style>


    .table tr td {
        padding: 3px 3px 0px 3px !important;
        height:25px!important;
    }

</style>


<div class="breadcrumbs ace-save-state" id="breadcrumbs">
    <ul class="breadcrumb">
        <li>
            <i class="ace-icon fa fa-home home-icon"></i>
            <a href="~/Home/Index">首页</a>
        </li>
        <li>
            <a href="#">投注管理</a>
        </li>
        <li class="active">对阵</li>
    </ul>

</div>
<p></p>
<div class="row">
    <div class="" id="playDiv">
        <div class="tabbable">
            <ul class="nav nav-tabs padding-12" id="detailTab">
                <li class="">
                    <div class="btn-primary" style="width:150px;height:35px;margin-bottom:5px;margin-right:20px;margin-left:-10px;text-align:center;font-size:16px;">
                        <div style="height:100%;width:100%;text-align:center;margin-left:-8px;margin-top:5px;position:absolute;" id="titleName">
                            球队
                        </div>
                    </div>
                </li>

                <li class="active">
                    <a data-toggle="tab" href="#detailHome" aria-expanded="true">首页</a>
                </li>

                <li class="" id="seasonLi">
                    <a data-toggle="tab" href="#detailMatch" aria-expanded="false">赛程</a>
                </li>

                <li class="" id="playLi">
                    <a data-toggle="tab" href="#detailOpponent" aria-expanded="false">总对阵</a>
                </li>

                <li class="" id="playLi2">
                    <a data-toggle="tab" href="#detailOpponent2" aria-expanded="false">主客对阵</a>
                </li>
            </ul>

            <div class="tab-content" id="detailContent" style="overflow-y:auto;overflow-x:visible;">
                <!-- 首页信息 -->
                <div id="detailHome" class="tab-pane active">
                    <div class="">

                        <div class="col-sm-4">
                            <div><label id="editUser_3"></label></div>
                            <div style="float:left;padding-top:5px;width:100%;padding-bottom:8px;" id="btnRemark_3">
                                <button class=" btn btn-xs btn-primary " id="btnEdit_3" onclick="editTeamRemark(this,3);" value="0" style="margin-left:3px;">编辑</button>
                                <button class=" btn btn-xs btn-success " onclick="saveTeamRemark(3);" style="margin-left:8px;display:none;">保存</button>
                            </div>
                            <div id="editRemark_3">
                                <textarea id="teamRemark_3" style="width:90%;min-height:400px;"></textarea>
                            </div>

                            <div id="showRemark_3" style="display:none;">
                                <p style="width:90%;min-height:400px;">
                                    3
                                </p>
                            </div>

                        </div>

                        <div class="col-sm-4">
                            <div><label id="editUser_2"></label></div>
                            <div style="float:left;padding-top:5px;width:100%;padding-bottom:8px;" id="btnRemark_2">
                                <button class=" btn btn-xs btn-primary " id="btnEdit_2" onclick="editTeamRemark(this,2);" value="0" style="margin-left:3px;">编辑</button>
                                <button class=" btn btn-xs btn-success " onclick="saveTeamRemark(2);" style="margin-left:8px;display:none;">保存</button>
                            </div>
                            <div id="editRemark_2">
                                <textarea id="teamRemark_2" style="width:90%;min-height:400px;"></textarea>
                            </div>

                            <div id="showRemark_2" style="display:none;">
                                <p style="width:90%;min-height:400px;">
                                    2
                                </p>
                            </div>

                        </div>

                        <div class="col-sm-4">
                            <div><label id="editUser_1"></label></div>
                            <div style="float:left;padding-top:5px;width:100%;padding-bottom:8px;" id="btnRemark_1">
                                <button class=" btn btn-xs btn-primary " id="btnEdit_1" onclick="editTeamRemark(this,1);" value="0" style="margin-left:3px;">编辑</button>
                                <button class=" btn btn-xs btn-success " onclick="saveTeamRemark(1);" style="margin-left:8px;display:none;">保存</button>
                            </div>
                            <div id="editRemark_1">
                                <textarea id="teamRemark_1" style="width:90%;min-height:400px;"></textarea>
                            </div>
                            <div id="showRemark_1" style="display:none;">
                                <p style="width:90%;min-height:400px;">
                                    1
                                </p>
                            </div>

                        </div>

                    </div>
                </div>

                <!-- 赛程信息 -->
                <div id="detailMatch" class="tab-pane">
                    <div class="row" style="margin-top:-12px;">

                        <div style="background-color: #f5f5f5;border: 1px solid #e3e3e3;min-height:32px;margin-bottom:2px;margin-top:-4px;">
                            <label style="padding-left:5px;padding-right:15px;"><h5>以往赛季参考</h5></label>
                            <select id="recentCount">
                                <option value="10">近10场</option>
                                <option value="30" selected>近30场</option>
                                <option value="50">近50场</option>
                                <option value="100">近100场</option>
                            </select>
                            <label style="padding-left:30px;" id="leagueIdsLabel">

                            </label>
                        </div>
                        <!-- 分割线 -->
                        <div style="background-color: #337ab7;border: 1px solid #337ab7;min-height:2px;margin-top:-3px;"></div>

                        <div style="border: 1px solid #e3e3e3;min-height:25px;">
                            <div class="btn-group" id="hostGuestDiv">
                                <button type="button" data-value="0" class="btn btn-primary btn-minier">全部</button>
                                <button type="button" data-value="1" class="btn btn-white btn-minier">主场</button>
                                <button type="button" data-value="2" class="btn btn-white btn-minier">客场</button>
                            </div>
                        </div>

                        <div id="contentTableDiv" style="overflow-x:visible;overflow-y:auto">
                            <table id="simple-table" class="table table-condensed">
                                <thead>
                                    <tr>
                                        <th></th>
                                        <th class="center">赛事</th>
                                        <th class="center">比赛时间</th>
                                        <th class="center">主队</th>
                                        <th class="center">比分</th>
                                        <th class="center">客队</th>
                                        <th class="center">赛果</th>
                                        <th class="center" colspan="3">欧赔</th>
                                        <th class="center">分析</th>
                                    </tr>
                                </thead>

                                <tbody id="detailMatchTable"></tbody>
                            </table>

                        </div>
                    </div>

                </div>

                <!-- 对阵信息 -->
                <div id="detailOpponent" class="tab-pane">

                    <div style="background-color: #f5f5f5;border: 1px solid #e3e3e3;min-height:32px;margin-bottom:2px;margin-top:-4px;">
                        <label style="padding-left:15px;padding-right:6px;"><h5>赛事</h5></label>
                        <select id="teamLeagues"></select>
                        <label style="padding-left:35px;padding-right:6px;"><h5>赛季</h5></label>
                        <select id="teamSeasons"></select>
                        <label style="padding-left:35px;padding-right:6px;"><h5>对阵</h5></label>
                        <select id="lastSeasons"></select>
                        <!--
    <label style="padding-left:105px;padding-right:6px;"><h5>赛季排名</h5></label>
    <label id="teamRank"></label>
        -->
                        <span style="width:600px;height:35px;display:inline-block;padding-left:80px;padding-top:12px;" id="teamRankSpan"></span>
                    </div>
                    <!-- 分割线 -->
                    <div style="background-color: #337ab7;border: 1px solid #337ab7;min-height:2px;margin-top:-3px;"></div>

                    <div id="playTableDiv">
                        <div class="col-sm-6">
                            <div class="row" style="background-color: #f5f5f5;border: 1px solid #e3e3e3;min-height:32px;margin-right:-5px;">
                                <span style="width:70px;height:1px;display:inline-block;float:left;"><label style="padding-left:10px;padding-top:8px;"><b>主场对阵</b></label></span>
                                <span style="width:550px;height:35px;display:inline-block;padding-left:10px;padding-top:5px;" id="hostRankSpan"></span>
                            </div>
                            <div style="margin-right:-5px;" class="row">
                                <div id="hostTeamDiv" style="overflow-x:visible;overflow-y:auto">
                                    <table id="hostTeamTable" class="table table-condensed">
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th class="center">比赛时间</th>
                                                <th class="center">对阵</th>
                                                <th class="center">比分</th>
                                                <th class="center">赛果</th>
                                                <th class="center" colspan="3">欧赔</th>
                                                <th>赛</th>
                                                <th>胜</th>
                                                <th>平</th>
                                                <th>负</th>
                                                <th>进球</th>
                                                <th>失球</th>
                                                <th>净胜</th>
                                                <th>积分</th>
                                                <th class="center">分析</th>
                                            </tr>
                                        </thead>

                                        <tbody id="detailHostTeamTable"></tbody>
                                    </table>

                                </div>
                            </div>

                        </div>
                        <div class="col-sm-6">
                            <div class="row" style="background-color: #f5f5f5;border: 1px solid #e3e3e3;min-height:32px;margin-left:-5px;">
                                <span style="width:70px;height:1px;display:inline-block;float:left;"><label style="padding-left:10px;padding-top:8px;"><b>客场对阵</b></label></span>
                                <span style="width:550px;height:35px;display:inline-block;padding-left:10px;padding-top:5px;" id="guestRankSpan"></span>
                            </div>
                            <div style="margin-left:-5px;" class="row">
                                <div id="guestTeamDiv" style="overflow-x:visible;overflow-y:auto">
                                    <table id="guestTeamTable" class="table table-condensed">
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th class="center">比赛时间</th>
                                                <th class="center">对阵</th>
                                                <th class="center">比分</th>
                                                <th class="center">赛果</th>
                                                <th class="center" colspan="3">欧赔</th>
                                                <th>赛</th>
                                                <th>胜</th>
                                                <th>平</th>
                                                <th>负</th>
                                                <th>进球</th>
                                                <th>失球</th>
                                                <th>净胜</th>
                                                <th>积分</th>
                                                <th class="center">分析</th>
                                            </tr>
                                        </thead>

                                        <tbody id="detailGuestTeamTable"></tbody>
                                    </table>

                                </div>
                            </div>

                        </div>
                    </div>

                </div>

                <!-- 主客对阵信息 -->
                <div id="detailOpponent2" class="tab-pane">

                    <div style="background-color: #f5f5f5;border: 1px solid #e3e3e3;min-height:32px;margin-bottom:2px;margin-top:-4px;">
                        <label style="padding-left:15px;padding-right:6px;"><h5>赛事</h5></label>
                        <select id="teamLeagues2"></select>
                        <label style="padding-left:35px;padding-right:6px;"><h5>赛季</h5></label>
                        <select id="teamSeasons2"></select>
                        <label style="padding-left:35px;padding-right:6px;"><h5>对阵</h5></label>
                        <select id="lastSeasons2"></select>
                        <span style="width:600px;height:35px;display:inline-block;padding-left:80px;padding-top:12px;" id="teamRankSpan2"></span>
                    </div>
                    <!-- 分割线 -->
                    <div style="background-color: #337ab7;border: 1px solid #337ab7;min-height:2px;margin-top:-3px;"></div>

                    <div id="playTableDiv2">
                        <div class="col-sm-6">
                            <div class="row" style="background-color: #f5f5f5;border: 1px solid #e3e3e3;min-height:32px;margin-right:-5px;">
                                <span style="width:70px;height:1px;display:inline-block;float:left;"><label style="padding-left:10px;padding-top:8px;"><b>主场对阵</b></label></span>
                                <span style="width:550px;height:35px;display:inline-block;padding-left:10px;padding-top:5px;" id="hostRankSpan2"></span>
                            </div>
                            <div style="margin-right:-5px;" class="row">
                                <div id="hostTeamDiv2" style="overflow-x:visible;overflow-y:auto">
                                    <table id="hostTeamTable2" class="table table-condensed">
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th class="center">比赛时间</th>
                                                <th class="center">对阵</th>
                                                <th class="center">比分</th>
                                                <th class="center">赛果</th>
                                                <th class="center" colspan="3">欧赔</th>
                                                <th>赛</th>
                                                <th>胜</th>
                                                <th>平</th>
                                                <th>负</th>
                                                <th>进球</th>
                                                <th>失球</th>
                                                <th>净胜</th>
                                                <th>积分</th>
                                                <th class="center">分析</th>
                                            </tr>
                                        </thead>

                                        <tbody id="detailHostTeamTable2"></tbody>
                                    </table>

                                </div>
                            </div>

                        </div>
                        <div class="col-sm-6">
                            <div class="row" style="background-color: #f5f5f5;border: 1px solid #e3e3e3;min-height:32px;margin-left:-5px;">
                                <span style="width:70px;height:1px;display:inline-block;float:left;"><label style="padding-left:10px;padding-top:8px;"><b>客场对阵</b></label></span>
                                <span style="width:550px;height:35px;display:inline-block;padding-left:10px;padding-top:5px;" id="guestRankSpan2"></span>
                            </div>
                            <div style="margin-left:-5px;" class="row">
                                <div id="guestTeamDiv2" style="overflow-x:visible;overflow-y:auto">
                                    <table id="guestTeamTable2" class="table table-condensed">
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th class="center">比赛时间</th>
                                                <th class="center">对阵</th>
                                                <th class="center">比分</th>
                                                <th class="center">赛果</th>
                                                <th class="center" colspan="3">欧赔</th>
                                                <th>赛</th>
                                                <th>胜</th>
                                                <th>平</th>
                                                <th>负</th>
                                                <th>进球</th>
                                                <th>失球</th>
                                                <th>净胜</th>
                                                <th>积分</th>
                                                <th class="center">分析</th>
                                            </tr>
                                        </thead>

                                        <tbody id="detailGuestTeamTable2"></tbody>
                                    </table>

                                </div>
                            </div>

                        </div>
                    </div>

                </div>

            </div>
        </div>
    </div>
</div>


<script src="~/js/business/ChooseMatch/TeamDetail.js"></script>

